package org.lcb.demo.shiyan3.service;

import org.lcb.demo.shiyan3.result.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import pojo.Cart;

import java.util.List;


public interface CartService {


    List<Cart> getList();

    void deleteCartById(int id);

    void updateCartNumById(int id, int quantity);

    void insertIntoCart(int productId, int quantity);
}
